﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._chubowen
{
    /// <summary>
    /// 生产领料头表
    /// </summary>
    public class ProductionPiicking : Entity<int>
    {
        

        /// <summary>
        /// 领料单编号
        /// </summary>
        [StringLength(64)]
        public string? IssueCode { get; set; }

        /// <summary>
        /// 领料单名称
        /// </summary>
        [StringLength(255)]
        public string? IssueName { get; set; }

        /// <summary>
        /// 工作站ID
        /// </summary>
        public int WorkStationId { get; set; }

        /// <summary>
        /// 工作站编号
        /// </summary>
        [StringLength(64)]
        public string? WorkStationCode { get; set; }

        /// <summary>
        /// 生产任务ID
        /// </summary>
        public int TaskId { get; set; }

        /// <summary>
        /// 生产任务编号
        /// </summary>
        [StringLength(64)]
        public string? TaskCode { get; set; }

        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int WorkOrderId { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        [StringLength(64)]
        public string? WorkOrderCode { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WareHouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        [StringLength(64)]
        public string? WareHouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [StringLength(255)]
        public string? WareHouseName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int LocationId { get; set; }

        /// <summary>
        /// 库位编号
        /// </summary>
        [StringLength(64)]
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [StringLength(255)]
        public string? LocationName { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 库区编号
        /// </summary>
        [StringLength(64)]
        public string? AreaCode { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        [StringLength(255)]
        public string? AreaName { get; set; }

        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime? IssueDate { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        [StringLength(64)]
        public string? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
